import React from 'react'
import {createRoot} from 'react-dom/client'
import './index.css'
import './index.less'
import App from '@/app'

const root = document.getElementById('root')
if (!root) {
	throw new Error('Root element not found')
}
const app = createRoot(root)

app.render(<App />)

// document.body.appendChild(root)
